package org.jeecg.eqp.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 检验、保养单据
 * @Author: LiCY
 * @Date:   2024-09-03
 * @Version: V1.0
 */
@Data
@TableName("eqp_spchkhead_value")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="eqp_spchkhead_value对象", description="检验、保养单据")
public class EqpSpchkheadValue implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID*/
	@Excel(name = "主键ID", width = 15)
    @ApiModelProperty(value = "主键ID")
    @TableId
    private Integer recId;
	/**设备ID*/
	@Excel(name = "设备ID", width = 15)
    @ApiModelProperty(value = "设备ID")
    private String serialno;
	/**单据类型*/
	@Excel(name = "单据类型", width = 15, dicCode = "eqpTRIGBUS")
    @ApiModelProperty(value = "单据类型")
    @Dict(dicCode = "eqpTRIGBUS")
    private String typ;
	/**当前状态*/
	@Excel(name = "当前状态", width = 15, dicCode = "eqpspchkTyp")
    @ApiModelProperty(value = "当前状态")
    @Dict(dicCode = "eqpspchkTyp")
    private String status;
	/**发起者*/
	@Excel(name = "发起者", width = 15)
    @ApiModelProperty(value = "发起者")
    private String initiator;
	/**班次日期*/
	@Excel(name = "班次日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "班次日期")
    private Date shiftDate;
	/**班次*/
	@Excel(name = "班次", width = 15)
    @ApiModelProperty(value = "班次")
    private String shift;
	/**生成时间*/
	@Excel(name = "生成时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "生成时间")
    private Date stime;
	/**完成时间*/
	@Excel(name = "完成时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "完成时间")
    private Date etime;
	/**单号*/
	@Excel(name = "单号", width = 15)
    @ApiModelProperty(value = "单号")
    private String spchkno;
	/**用户ID*/
	@Excel(name = "用户ID", width = 15)
    @ApiModelProperty(value = "用户ID")
    private String userid;
	/**结果*/
	@Excel(name = "结果", width = 15, dicCode = "result")
    @ApiModelProperty(value = "结果")
    @Dict(dicCode = "result")
    private String result;
	/**配置表ID*/
	@Excel(name = "配置表ID", width = 15)
    @ApiModelProperty(value = "配置表ID")
    private Integer eqpchkid;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**更新时间*/
	@Excel(name = "更新时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date ctime;
}
